AMOS-L

Message created on:
Thursday, December 4, 1997

From:Alastair Murray (malcolm.murray@virgin.net)
Subject: Re: Help with some routines
|Previous Message | Next Message |

> 1) Is there a way to check the size of a bob?

If you look at the AMOS manual on how the banks are stored you can
actually peek the basic values out. But you'll only get the X size to
16 pixels.

> 2) Any asm-coders that can help me with an assembler-screen-copy-
> routine? The one in Amos is WAY to slow. Maybe there is a faster
> on some extension...

Actually, I find the screen copy routine quite reasonable. All the
other GFX things are bad though.
I find most extensions that are supposed to speed up GFX routines are
rubbish and its actually the other things that make the difference.
e.g. Using Qsqr from AMCAF has doubled the speed of one game that used
Sqr alot.

> 3) How does the 'BobspriteCol' and the 'SpritebobCol' commands work?
> Can you check collisions between the mousepointer-sprite and a bob?

It works as it says in the manual.
You cannot detect the mouse though. A solution would be to call Hide
On and then define your own mouse with a sprite and amal which you
could then detect.

-Murray

--

Alastair \\|// malcolm.murray@virgin.net
Murray (o o) http://freespace.virgin.net/malcolm.murray
|~~~~~~oOOo~(_)~oOOo~~~~|~~~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~~~~~~~~~|
| ---===ON AMINET===--- |dev/misc/Backbone | --==IN PRODUCTION==-- |
| game/shoot/Hanger18 |game/shoot/Traitor| The Turtleminator |
|game/jump/BananaIslands| game/role/CHAOS | Hangar 18 II |
| game/shoot/Extinct | game/jump/Blobby | Backbone - Game Creator|
| dev/amos/KeyState | dev/amos/PicPack | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



| Previous Message | Next Message |
Output created by HTMLThor v1.31
Written by: Troy E. Bouchard, � 1996